package com.zs.games.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author tiantian.li
 * @descriptions 分页查询对象
 * @date 2022/10/14 16:19
 */
@ApiModel(description = "分页查询参数对象")
@NoArgsConstructor
public  class PageQuery implements Serializable {
    private static final long serialVersionUID = -2779256844273652901L;
    @ApiModelProperty(value = "每页数据大小")
    private Integer pageSize = 10;
    @ApiModelProperty(value = "起始页(从1开始)")
    private Integer pageNumber = 1;

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(Integer pageNumber) {
        this.pageNumber = pageNumber;
    }
}
